<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html class="no-js" lang="">
<head>
    <jsp:include page="../layout/head.jsp">
        <jsp:param name="title" value="修改密码"/>
        <jsp:param name="cssName" value="change-pwd"/>
    </jsp:include>

</head>
<body>
<jsp:include page="../layout/nav.jsp"/>

<div class="container">


    <jsp:include page="userleft.jsp"/>

    <div class="main">
        <div class="page-wrapper">
            <h1 class="title">修改密码</h1>
            <form action="${pageContext.request.contextPath}/user/updPassword" method="post" class="change-pwd">
                <input type="hidden" name="id" value="${user.id}">
                <div class="form-group">
                    <label for="orig-pwd">原始密码</label>
                    <input type="password" id="orig-pwd" name="old">
                </div>
                <div class="form-group">
                    <label for="new-pwd">新密码</label>
                    <input type="password" id="new-pwd" name="newpwd1">
                </div>
                <div class="form-group">
                    <label for="again-pwd">新密码</label>
                    <input type="password" id="again-pwd" name="newpwd2">
                </div>
                <div class="form-group">
                    <input type="submit" class="btn btn-default" value="提交">
                </div>
            </form>
        </div>

    </div>

</div>
<jsp:include page="../layout/footer.jsp"/>
</body>
</html>
